Shopglut\enhancements\ProductComparison\ProductComparisonDataManage D

Total Complexity 153
Dependencies 2
Dependents 2
Total lines 834
Lines of code 545
Logical lines of code 327
Comment lines 137
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
render_floating_comparison_bar()
B
41 19 50
shopglut_get_comparison_display_options()
B
36 17 72
matches_location()
B
47 18 33
shopglut_render_comparison_preview()
A
38 14 65
save_productcomparison_layout_data()
A
40 13 61
display_comparison_button_single()
A
47 14 32
display_comparison_button()
A
49 12 28
reset_productcomparison_layout_settings()
A
44 8 46
get_button_inline_styles()
A
49 7 33
get_comparison_styles()
A
50 7 32
should_display_comparison_button()
S
52 7 25
get_active_layout_settings()
S
52 7 25
sanitize_layout_settings()
S
59 4 15
enqueue_comparison_assets()
S
67 2 8
get_instance()
S
70 2 7
__construct()
S
68 1 7
init_comparison_display()
S
69 1 6